<%-- 
    Document   : create
    Created on : Oct 4, 2012, 10:17:29 AM
    Author     : Daniel
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    </head>
    <body>
    
    <h1>This is the experiences page for Employee ${idStr}</h1>
    <br>
    
        <table class="bordered">
        
        <tr>
                <th>Company Name</th>
                <th>Role</th>
                <th>Period Start</th>
                <th>Period Finish</th>
                <th>Description</th>
                <th>Project Name</th>
            </tr>

            <tbody>
            
               <c:forEach var="experience" items="${experiences}">
<%-- 				<c:set var = "employee_idEmployee" scope = "session" value = "${experience.employee_idEmployee}" /> --%>
<%--                <c:choose> --%>
<%--                <c:when test= "${strId == employee_idEmployee}"> --%>
               	<tr>
                    <td>${experience.companyname}</td>
                    <td>${experience.role}</td>
                    <td>${experience.periodStart}</td>
                    <td>${experience.periodFinish}</td>
                    <td>${experience.description}</td>
                    <td>${experience.projectname}</td>
                </tr>
<%--                 </c:when> --%>
<%--                <c:otherwise> --%>
<%--                </c:otherwise> --%>
<%--                </c:choose>  --%>
               
                
				</c:forEach>
				</tbody>
        </table>
		
    </body>
</html>
